package com.itheima.extendsdemo;
//子类:能继承父类的非私有成员,成员变量,成员方法
//继承了name和sex
public class Teacher extends People {
    private String skills;      //子类特有

    public String getSkills() {
        return skills;
    }

    public void setSkills(String skills) {
        this.skills = skills;
    }
}
